package bom.pojo.query;

import lombok.Data;

import java.util.List;

/**
 * @Author: Fancyears·Maylos·Maywas
 * @Description: 分页实体类
 * @Date: Created in  2018/11/27 15:35
 * @Modified By:
 */
@Data
public class Page {
    private List rows;
    private long total;

    public Page() {
    }

    public Page(List rows, long total) {
        this.rows = rows;
        this.total = total;
    }

    @Override
    public String toString() {
        return "Page [rows=" + rows + ", total=" + total + "]";
    }
}
